package com.lson;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Controller;

@SpringBootApplication
@EnableDiscoveryClient
@RefreshScope
@Slf4j
public class GateWayUp {

    public static void main(String[] args) {
        SpringApplication.run(GateWayUp.class);
        log.info("gateway启动成功");
    }

}
